<extend name="Common/base"/>
<block name="js">
    <script src="{$Think.JS_URL}\assetce.js"></script>
</block>
<block name="content">
    <div class="container">
        <div class="menu_l">
            <div class="Na" style="margin-left:13px;"><span style="word-break:normal;"></span>
            </div>
            <dl id="dl1" class="close1">
                <dt onclick="onelist(this)" style="background-color:#019858">
                    <span><img id="img0" src="images/right.png"/>仪器借用</span>
                </dt>
                <dd><a href="{:U('InstrumentLend/index')}"
                       style="color:#333333;text-decoration: none;"><span>填写申请表 </span></a></dd>
                <dd style="background-color:#019858"><a href="{:U('MyAsset/index')}"
                                                        style="color:#333333;text-decoration: none;"><span>我的借用记录</span></a>
                </dd>
            </dl>
            <dl id="dl2" class="close1">
                <dt onclick="onelist(this)"><span><img id="img1" src="images/right.png"/>耗材领取</span></dt>
                <dd style="background-color:#019858"><a href="{:U('Material/index')}"
                                                        style="color:#333333;text-decoration: none;"><span>填写申请表</span></a>
                </dd>
                <dd><a href="{:U('MyMaterial/index')}" style="color:#333333;text-decoration: none;"><span>我的领取记录</span></a>
                </dd>
            </dl>
            <dl id="dl3" class="close1">
                <dt onclick="onelist(this)" style="background-color:#019858"><span><img img id="img2"
                                                                                        src="images/right.png"/>申购</span>
                </dt>
                <dd><a href="{:U('ApplicationApply/index')}"
                       style="color:#333333;text-decoration: none;"><span>仪器设备申购</span></a></dd>
                <dd style="background-color:#019858"><a href="{:U('MaterialApply/index')}"
                                                        style="color:#333333;text-decoration: none;"><span>耗材申购</span></a>
                </dd>
            </dl>
        </div>
        <div class="lendForm" style="width: 84%;float: right;text-align: center;">
            <!--样式在common.css-->
            <div class="tipTitle" style="text-align: left">
                <i class="fa fa-smile-o fa-2x"></i>&nbsp;&nbsp;<span>资产借用详情</span>
            </div>
            <div class="wList">
                <table class="table table-hover">
                    <thead>
                    <td>资产名称</td>
                    <td>资产编号</td>
                    <td>出厂日期</td>
                    <td>保管人</td>
                    </thead>
                    <tbody>
                    <foreach name="asset_detail" item="v1" key="k1">
                        <tr>
                            <td>{$v1.name}</td>
                            <td>{$v1.asset_num}</td>
                            <td>{$v1.use_time}</td>
                            <td>{$v1.save_person}</td>
                        </tr>
                    </foreach>
                    </tbody>
                </table>
                <nav class="fenye" aria-label="Page navigation">
                    <ul class="pagination">
                        {$show}
                    </ul>

                </nav>
                <div class="fenTotal">共 {$count} 条记录</div>
            </div>

        </div>
    </div>
</block>
<block name="header_js">
    <!--导航变色-->
    <script>
        var nav = document.getElementsByClassName('nav')[0].getElementsByTagName('a');
        nav[2].className = 'active';
    </script>
</block>